﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000177 RID: 375
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CancelCacheNotifyScRsp : IMessage<CancelCacheNotifyScRsp>, IMessage, IEquatable<CancelCacheNotifyScRsp>, IDeepCloneable<CancelCacheNotifyScRsp>, IBufferMessage
	{
		// Token: 0x170004F8 RID: 1272
		// (get) Token: 0x060010E0 RID: 4320 RVA: 0x00031430 File Offset: 0x0002F630
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CancelCacheNotifyScRsp> Parser
		{
			get
			{
				return CancelCacheNotifyScRsp._parser;
			}
		}

		// Token: 0x170004F9 RID: 1273
		// (get) Token: 0x060010E1 RID: 4321 RVA: 0x00031437 File Offset: 0x0002F637
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CancelCacheNotifyScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170004FA RID: 1274
		// (get) Token: 0x060010E2 RID: 4322 RVA: 0x00031449 File Offset: 0x0002F649
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CancelCacheNotifyScRsp.Descriptor;
			}
		}

		// Token: 0x060010E3 RID: 4323 RVA: 0x00031450 File Offset: 0x0002F650
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelCacheNotifyScRsp()
		{
		}

		// Token: 0x060010E4 RID: 4324 RVA: 0x00031458 File Offset: 0x0002F658
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelCacheNotifyScRsp(CancelCacheNotifyScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060010E5 RID: 4325 RVA: 0x0003147D File Offset: 0x0002F67D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelCacheNotifyScRsp Clone()
		{
			return new CancelCacheNotifyScRsp(this);
		}

		// Token: 0x170004FB RID: 1275
		// (get) Token: 0x060010E6 RID: 4326 RVA: 0x00031485 File Offset: 0x0002F685
		// (set) Token: 0x060010E7 RID: 4327 RVA: 0x0003148D File Offset: 0x0002F68D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060010E8 RID: 4328 RVA: 0x00031496 File Offset: 0x0002F696
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CancelCacheNotifyScRsp);
		}

		// Token: 0x060010E9 RID: 4329 RVA: 0x000314A4 File Offset: 0x0002F6A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CancelCacheNotifyScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060010EA RID: 4330 RVA: 0x000314D4 File Offset: 0x0002F6D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060010EB RID: 4331 RVA: 0x00031513 File Offset: 0x0002F713
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060010EC RID: 4332 RVA: 0x0003151B File Offset: 0x0002F71B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060010ED RID: 4333 RVA: 0x00031524 File Offset: 0x0002F724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060010EE RID: 4334 RVA: 0x00031558 File Offset: 0x0002F758
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060010EF RID: 4335 RVA: 0x00031596 File Offset: 0x0002F796
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CancelCacheNotifyScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060010F0 RID: 4336 RVA: 0x000315C7 File Offset: 0x0002F7C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060010F1 RID: 4337 RVA: 0x000315D0 File Offset: 0x0002F7D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000724 RID: 1828
		private static readonly MessageParser<CancelCacheNotifyScRsp> _parser = new MessageParser<CancelCacheNotifyScRsp>(() => new CancelCacheNotifyScRsp());

		// Token: 0x04000725 RID: 1829
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000726 RID: 1830
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04000727 RID: 1831
		private uint retcode_;
	}
}
